package com.gzu.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/**
 * 省份表
 * @TableName t_province
 */
@TableName(value ="t_province")
@Data
public class Province implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 省份名称
     */
    private String name;

    /**
     * 大区ID
     */
    private String regionId;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 修改时间
     */
    private String updateTime;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}